Description:
Group methods together that differ only by their parameter list. It is good practice to order from the least number of parameters to the most.
Incorrect:
public class Printer {
public void print(String s) {
...
}
public void flush() {
...
}
public void print(char[] buf) {
...
}
}
Correct:
public class Printer {
public void print(String s) {
...
}
public void print(char[] buf) {
...
}
public void flush() {
...
}
}